using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace FoodReservationSystem.Web.Ticket
{
    public partial class Show : System.Web.UI.Page
    {        
        		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					string id = Request.Params["id"];
					//ShowInfo(TicketID);
				}
			}
		}
		
	private void ShowInfo(int TicketID)
	{
		FoodReservationSystem.BLL.Ticket bll=new FoodReservationSystem.BLL.Ticket();
		FoodReservationSystem.Model.Ticket model=bll.GetModel(TicketID);
		this.lblProductID.Text=model.ProductID.ToString();
		this.lblAmount.Text=model.Amount.ToString();
		this.lblComment.Text=model.Comment;

	}


    }
}
